package com.xcity.pomelo.response;

import com.xcity.db.entity.Employee;
import com.xcity.pomelo.response.EmployeeInfoResponse.EmployeeInfo;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class EmployeeTrainResponse extends Response {

	private EmployeeInfo obj;

	public EmployeeTrainResponse(int serial, Employee obj) {
		super(serial);
		this.obj = new EmployeeInfo(obj);
	}

	public EmployeeInfo getObj() {
		return obj;
	}

	public void setObj(EmployeeInfo obj) {
		this.obj = obj;
	}

}
